package graduation.service;

import java.util.List;

import graduation.entity.Apply;
import graduation.entity.User;

public interface ApplyService {
	/**
	 * 申请
	 * @param apply
	 */
	public void addApply(Apply apply);

	public Apply findById(Integer id);

	public void update(Apply apply);

	public List findBySender(String sender);

	public List findByReceiver(String receiver);

	public List getMyApplyByStatus(String sender, Boolean dealStatus);

	public List findByUserId(String id);

	public void delApplyById(int id);

	

}
